package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 出库表
 * </p>
 *
 * @author 崔倩倩
 * @since 2018-08-25
 */
@TableName("stock_removal")
public class StockRemoval extends Model<StockRemoval> {

    private static final long serialVersionUID = 1L;

    /**
     * 物品出库id
     */
	private Long id;
    /**
     * 物品出库数量
     */
	private Integer number;
    /**
     * 物品出库日期
     */
	private Long date;

    /**
     * 物品出库所需部门
     */
	private String department;
    /**
     * 物品出库的物品名称
     */
	@TableField("item_name")
	private String itemName;
	/**
	 * 领用人
	 */
	@TableField("people")
	private String people;

	/**
	 * 规格
	 */
	private String company;

	/**
	 * 备注
	 */
	private String remarks;

	/**
	 * 创建时间
	 */
	@TableField("createtime")
	private Long createtime;

	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	@TableField("areaid")
	private Long areaid;


	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Long getId() {
		return id;
	}

	public Long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Long getDate() {
		return date;
	}

	public void setDate(Long date) {
		this.date = date;
	}


	public String getPeople() {
		return people;
	}

	public void setPeople(String people) {
		this.people = people;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StockRemoval{" +
				"id=" + id +
				", number=" + number +
				", date=" + date +
				", department='" + department + '\'' +
				", itemName='" + itemName + '\'' +
				", people='" + people + '\'' +
				", company='" + company + '\'' +
				", remarks='" + remarks + '\'' +
				", createtime=" + createtime +
				'}';
	}
}
